import {
    PURCHASE_LIST_APP,
    PURCHASE_DELETE_APP
  } from "@/config/url.conf"
  import {ajax} from "@/utils/request";

/**
 * 获取采购列表数据
 * @param {*} params 
 * @returns 
 */
export function purchaseListApi(params) {
    return ajax({
        url:PURCHASE_LIST_APP ,
        params
    })
}
export function purchaseDeleteApi(id) {
    return ajax({
        url: PURCHASE_DELETE_APP + id,
        method: 'post'
    })
}